package com.credithc.scs.webservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

/**
 * 描述：签章webservice服务<br/>
 * 作者：sunyang
 * 创建：2019/5/23 15:31
 * 版本：v1.0.0<br/>
 */
@WebService(name = "SignService")
public interface SignService {

    /**
     * 签章webservice接口
     * @param channel       String 渠道
     * @param templateId    String 模板Id
     * @param strJson       String json数据
     * @param callBackUrl   String 回调url地址
     * @throws Exception
     */
    @WebMethod
    @WebResult
    String signContract(@WebParam(name = "channel") String channel, @WebParam(name = "templateId") String templateId,
                        @WebParam(name = "isSeal") int isSeal, @WebParam(name = "strJson") String strJson,
                        @WebParam(name = "callBackUrl") String callBackUrl) throws Exception;
}
